﻿@*
@if(Request.IsAuthenticated) {
    <text>Welcome <strong>@User.Identity.Name</strong>!
     @Html.ActionLink("Log Off", "LogOff", "Account") </text>
}
*@
@if (Request.IsAuthenticated)
{
    <div class="btn-group login">
        <button class="btn btn-mini">@Session["UserName"]</button>
        <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">
        <span class="caret"></span>
        </button>
        <ul class="dropdown-menu pull-right">
            <li><a href="#">Profile</a></li>
            <li><a href="#">Help</a></li>
            <li class="divider"></li>
            <li>@Html.ActionLink("Log Off", "LogOff", "Account", null, null)</li>
        </ul>
    </div>
    

}
else
{
   @: <button class="btn btn-small btn-success">Login</button>
}
